package cn.tedu.egmvc1.mapper;

import cn.tedu.egmvc1.pojo.entity.User;
import cn.tedu.egmvc1.pojo.vo.UserListVO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    int insertUser(User user);

    List<UserListVO> selectUser(@Param("username") String username,@Param("password") String password);

     int delUser(Integer id);

    int updateUser(User user);
}
